package com.lizhi.yun.db.sfrobot.entity;

import com.lizhi.mybatis.boot.Description;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 医院的配置项目表
 */
@Data
@ToString
//@Entity
//@Table(name="his_center_hospital_config")
@Description("医院参数")
public class HospitalConfig extends AbstractHisEntity {

    @Id
    @Column(length = 30)
    @Description("lid")
    public String lid;

    @Description("记录id")
    @Column(length = 100)
    public String id;

    @Column(name="`key`")
    @Description("参数键")
    public int key;

    @Column(name="`value`", length = 500)
    @Description("参数值")
    public String value;
    /**
     * 是否修改
     */
    @Column
    @Description("是否修改")
    public boolean canEdit;
    /**
     * 是否可见
     */
    @Column
    @Description("是否可见")
    public boolean canVisible;
    /**
     * 是否能删除
     */
    @Column
    @Description("是否能删除")
    public boolean canDelete;

    @Column(length = 20)
    @Description("创建时间")
    public String createTime;
}
